	<% if (request.getAttribute(theForm.getFormName() + "ValidationError") != null){ %>
	<div id="FormValidationError">
		<%=request.getAttribute(theForm.getFormName() + "ValidationError")%>
	</div>
	<% } %>
	<%	while (frs.nextFormElement()){ 
			if(!frs.isHiddenElement()) { %>
			<div id="<%=frs.getStyle()%>FEContainer">
				<% if (Settings.getAdminMode()){ %>
					<a href="FormElements.config.form?action=update&uniqueKeyValue=<%=frs.getIdFormElement()%>">*</a>
				<% } %>
				<span class="<%=frs.getStyle()%>FELabel"><xpresso:printlabel label="<%=frs.getLabel()%>" lang="${lang }"/></span>
				<span class="<%=frs.getStyle()%>FEElement"><%=frs.getElement()%></span>
				<span class="<%=frs.getStyle()%>FEDescription"><xpresso:printlabel label="<%=frs.getDescription()%>" lang="${lang }"/></span>
				<span class="<%=frs.getStyle()%>FEError"><%=frs.getErrorMessage()==null?"":frs.getErrorMessage()%></span>
			</div>
	<%		}	
		} %>
	<div id="Submit">
		<input type="hidden" name="uniqueKeyValue" value="<%=request.getParameter("uniqueKeyValue")%>">
		<input type="hidden" name="action" value="<%=request.getParameter("action")%>">
		<input type="hidden" name="formName" value="<%=theForm.getFormName()%>">
		<input type="hidden" name="parentKeyValue" value="<%=request.getParameter("uniqueKeyValue")%>">
		<%	frs.moveFirst();
			while (frs.nextFormElement()){ 
				if(frs.isHiddenElement()) { %>
			<%=frs.getElement()%>
		<% 		}
			} %>
		<a href="javascript:validate<%=theForm.getIdForm()%>Form()">
			<div id="SubmitButton">
				<span class="<%=theForm.getStyle()%>SubmitText"><%=theForm.getSubmitText()%></span>
			</div>
		</a>
	</div>